<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>实时轨迹</title>
    <script src="/dist/plugins/vue/vue.js"></script>
</head>
<body onload="setIFrameH()" style="padding: 0;">
<iframe src="http://lbsyun.baidu.com/trace/admin/manager?service_id=200988" frameborder="0"
        id="map" scrolling="no"
        style="padding: 0px; width: 100%; height:100%;margin-top: -15px;margin-bottom: -10px"></iframe>
</body>
<script src="https://file.ggxqce.com/web/jquery-2.2.3.min.js"></script>
<script>
    //调整高度
    $(function () {
        setIFrameH()
    })
    function setIFrameH() {
        setTimeout(function () {
            var H = $(window).height()
            console.log(H)
            $("#map").height(H)
        }, 200)
    }
</script>

</html>